package com.ronan.client;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * FileName    : com.ronan.client
 * Description :
 *
 * @author : ronan
 * @version : 1.0
 * Create Date : 2021/3/1 20:40
 **/
@Slf4j
@SpringBootApplication
public class ClientApplication implements CommandLineRunner {


    @Autowired
    private IMClient client;

    public static void main(String[] args) {
        SpringApplication.run(ClientApplication.class, args);
    }

    @Override
    public void run(String... args) throws Exception {
        client.start();
    }
}
